Method for implementing IP multimedia subsystem registration

ABSTRACT

A method for implementing an IP Multimedia Subsystem (IMS) registration, includes: a Home Subscriber Server (HSS) recording a current registration state of a User Equipment (UE) in response to receiving a Multimedia Authentication Request (MAR) initiated by a Service Call Session Control Function (S-CSCF) selected for the UE when a first Register request is sent by the UE; in response to receiving a second Register request initiated by an Interrogating Call Session Control Function (I-CSCF), the HSS sends the S-CSCF Name to the I-CSCF when the current registration state of the UE is an assigned S-CSCF state. By the scheme, a same S-CSCF is ensured to be used in the two User Authentication Request/User Authentication Answer (UAR/UAA) procedures of the initial IMS registration procedure, and the initial IMS registration of the UE is implemented successfully.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a reissue continuation of application Ser. No. 14/583,380, filed on Dec. 26, 2014, which is an application for reissue of patent application Ser. No. 11/857,146 filed on Sep. 18, 2007, now U.S. Pat. No. 8,514,870. The patent application Ser. No. 11/857,146 is a continuation of International Patent Application No. PCT/CN2006/001641, filed Jul. 11, 2006, which claims priority to Chinese Patent Application No. 200510090109.X, filed Aug. 8, 2005, and Chinese Patent Application No. 200510115672.8, filed Nov. 8, 2005, all of which are hereby incorporated by reference.

FIELD OF THE INVENTION

The present invention relates to the IP (Internet Protocol) Multimedia Subsystem (IMS) technology, and more particularly, to methods for implementing IMS registration.

BACKGROUND OF THE INVENTION

If a User Equipment (UE) needs to use IMS services, the UE should implement the IMS registration. FIG. 1 is a flow chart illustrating the process of implementing initial IMS registration in the prior art. If a UE has acquired an Internet Protocol (IP) connection bearer and found an interface of the IMS system: a Proxy Call Session Control Function (P-CSCF), before the initial IMS registration is implemented. The initial IMS registration includes the following steps.

Steps 100-101: The UE sends a first Register request based on a Session Initialization Protocol (SIP) to the P-CSCF found by the UE, and forwards the first Register request to an Interrogating Call Session Control Function (I-CSCF) via the P-CSCF.

The I-CSCF is a connection point provided for all users connecting to the service provider in an (Internet service provider) ISP network. The first Register request includes an ID and home network name of the UE to be registered. The P-CSCF parses an IP address of the I-CSCF by using a home network name included in the first Register request, and forwards the first Register request to the I-CSCF corresponding to the IP address of the I-CSCF.

Steps 102-103: The I-CSCF initiates to a Home Subscriber Server (HSS) a User Authorization Request (UAR) message; and the HSS returns, according to the current registration state of the UE, the I-CSCF a User Authentication Answer (UAA) message carrying Service Call Session Control Function (S-CSCF) capabilities or an S-CSCF Name.

In the IMS network, the HSS is located in the home network, and is used for storing the data related to subscribers and services, such as subscriber IDs, subscriber registration state information, access parameters, service trigger information. The S-CSCF, which is the core of the IMS network, is located in the home network. The S-CSCF is utilized to control sessions and provide registration services for subscribers.

A user has three registration states: a not registered state that the subscriber establishes no connection with the network, a registered state, and an unregistered state that the subscriber has established a connection with the network, but has not initiated any registration procedure. According to related protocol criterions, the subscriber registration state is changed after the HSS receives a Subscriber Authentication or Cancel Request (SAR) from the S-CSCF. If the UE deregisters from the network, for example, the UE is power-off, a Subscriber Cancel Request is triggered. In response to receiving the Subscriber Cancel Request, the HSS changes the registration state of the UE stored in the HSS to the not registered state. If the UE completes the registration, a subscriber registration request is triggered. In response to receiving the subscriber registration request, the HSS changes the registration state of the UE stored in the HSS to the registered state. If the UE is called, the SAR is triggered. In response to receiving the SAR, the HSS changes the registration state of the UE stored in the HSS to the unregistered state. It can be seen that the HSS changes the registration state according to related protocol criterions, that is, the HSS learns the change of the registration state if the registration state of the UE is changed. Please refer to the related protocols for specific implementation.

According to related protocol criterions, in response to receiving the User Authorization Request/Location Inquiry Request (UAR/LIR) from the I-CSCF, the HSS inquiries about the subscriber registration information stored in the HSS, and determines, according to the current registration state of the UE, the S-CSCF Capabilities or S-CSCF Name to be returned. The HSS returns the I-CSCF the UAA message carrying the S-CSCF Capabilities, if the UE has not been allocated the S-CSCF Name, that is, the UE is in the not registered state, or the I-CSCF has not requested the S-CSCF Capabilities definitely; the HSS returns the UAA message carrying the S-CSCF Name to the I-CSCF, if the UE is in the registered state or the unregistered state, that is, the UE has been allocated the S-CSCF, the allocated S-CSCF has been stored in the HSS.

Steps 102-103 illustrate the first UAR/UAA procedure of the initial IMS registration procedure, and the UE has not completed the initial IMS registration at that time, i.e. the registration state of the UE recorded in the HSS is the not registered state; so the UAA message carrying the S-CSCF Capabilities is returned to the I-CSCF during the first UAR/UAA procedure of the initial IMS procedure.

Steps 104-105: The I-CSCF selects an S-CSCF according to the S-CSCF Capabilities carried in the UAA message, and sending the received first Register request to the selected S-CSCF.

According to related criterions of 3GPP TS 29.228 protocol and 3GPP TS 29.229 protocol, the capability set is expressed by using Attribute-Value Pairs (AVP). For the process of the I-CSCF selecting the S-CSCF according to the AVP, please refer to the related protocols, and no more description herein.

Steps 106-108: The S-CSCF sends a Multimedia Authentication Request (MAR) message to the HSS to request the authentication data of the UE; in response to generating Authentication Vectors (AVs), the HSS returns the S-CSCF a Multimedia Authentication Answer (MAA) message carrying the AVs.

The authentication of the UE depends on a pre-set share key which can be stored in an IP Multimedia Service ID Module (ISIM) of the UE and the HSS in the network. The S-CSCF needs to send the MAR message to the HSS to acquire the AVs when desiring to authenticate the subscriber, since the S-CSCF is used for authorizing subscribers.

In response to receiving the MAR message, the HSS sets a Pending Flag stored in the HSS to a Pending state, to indicate that the UE is in the authentication procedure currently, stores the S-CSCF Name of the S-CSCF selected for the UE carried in the MAR, and returns the MAA message carrying the generated AVs to the S-CSCF according to the S-CSCF Name of the S-CSCF selected for the UE.

The AVs requested by the S-CSCF from the HSS mainly includes: a random challenge (RAND), an expected result (XERS), a network authentication token (AUTN), an Integration Key (IK), and an Encrypt Key (CK).

Steps 109-113: The S-CSCF sends a 401 unauthorized response to the UE through the I-CSCF and the P-CSCF to challenge the UE; in response to completing the authentication challenge, the UE sends a second Register request carrying an authentication challenge response (RES) to the I-CSCF through the P-CSCF.

For authentication, the S-CSCF uses the 401 unauthorized response to refuse the first Register request initiated by the UE, and the 401 unauthorized response includes the AVs requested acquired from the HSS. The UE calculates the RES based on the share key stored in the local ISIM and the RAND in the received AVs, and sends the second Register request carrying the RES to the S-CSCF. Please refer to related protocols for a specific calculation method.

Steps 114-115: In response to receiving the second Register request, the I-CSCF initiates the UAR message to the HSS; the HSS returns the UAA message carrying the S-CSCF Capabilities or the S-CSCF Name to the I-CSCF according to the current subscriber registration state.

The specific implementation of the steps 114-115 is similar to that of the steps 102-103, so there is no more description.

It should be noted that, the current registration state of the UE stored in the HSS is still the not registered state, since the UE is in the initial IMS registration procedure at this time, and has not completed the registration yet. According to protocol criterions, the HSS still returns the I-CSCF the UAA message carrying the S-CSCF Capabilities, when the UE implements the second UAR/UAA procedure of the initial IMS registration procedure in the steps 114-115.

Step 116: The I-CSCF selects the S-CSCF according to the S-CSCF Capabilities carried in the UAA message, and sends the second Register request to the selected S-CSCF.

According to the steps 114-115, and step 116, since the UE has not completed the initial IMS registration, and the current registration state of the UE stored in the HSS is still the not registered state; the HSS, according to related protocol criterions, can only return the S-CSCF Capabilities to the I-CSCF by using the UAA message to carry the S-CSCF Capabilities. The I-CSCF can only re-select the S-CSCF according to the S-CSCF Capabilities carried in the UAA message. The process may bring a problem that the S-CSCF selected during the second UAR/UAA procedure may be different from the S-CSCF selected during the first UAR/UAA procedure in the steps 104-105. If the S-CSCF selected during the second UAR/UAA procedure is different from the S-CSCF selected during the first UAR/UAA procedure, the S-CSCF selected during the second UAR/UAA procedure will find no data related with the UE stored in itself, and initiate an initialization location registration process to the UE. Consequently, the UE can not implement the initial IMS registration procedure successfully if such a situation happens many times.

In step 116, the UE can continue to implement the authentication only when the S-CSCF selected by the I-CSCF according to the S-CSCF Capabilities carried in the UAA message and the S-CSCF selected in the steps 104-105 are the same.

Steps 117-119: The S-CSCF authenticates the UE according to the RES carried in the second Register request; if the UE passes the authentication, the S-CSCF sends a Subscriber Authentication Request (SAR) message to the HSS; in response to receiving the SAR message, the HSS returns a Subscriber Authentication Answer (SAA) message to the S-CSCF.

The S-CSCF compares the XRES in the AVs requested from the HSS in the steps 106-108 with the RES carried in the second Register request; if the XRES is the same as the RES, the S-CSCF determines that the UE passes the authentication; otherwise, the S-CSCF determines that the UE does not pass the authentication.

The S-CSCF Name is carried in the SAR message to notify the HSS of the S-CSCF providing services for the UE passing the authentication. In response to receiving the SAR message, the HSS changes the registration state of the UE stored in the HSS to the registered state.

Steps 120-122: The S-CSCF sends an accept registration 200 OK response to the UE through the I-CSCF and the P-CSCF, to accept the initial IMS registration initiated by the UE.

The inventors find in the inventing process that the method for implementing the initial IMS registration in the prior art has the following drawbacks: during the two UAR/UAA procedures, the subscriber registration state stored in the HSS is not changed, that is, the subscriber registration state stored in the HSS is the not registered state during the first UAR/UAA procedure, while the subscriber registration state stored in the HSS is still the not registered state during the second UAR/UAA procedure. Therefore, according to the protocol criterions, only the S-CSCF Capabilities is carried in the two UAA messages, the I-CSCF selects the S-CSCF according to the S-CSCF Capabilities, and the S-CSCF Name is not carried in the UAA message. Therefore, the I-CSCF has to re-select an S-CSCF in the second UAR/UAA procedure, and the S-CSCF re-selected by the I-CSCF is not ensured to be the same as the S-CSCF selected in the first UAR/UAA procedure. Therefore, in response to receiving the Register request, the S-CSCF re-selected by the I-CSCF may initiate an initialization location registration process to the UE for no information of the UE is found in S-CSCF re-selected by the I-CSCF. Consequently, the initial IMS registration can not be implemented successfully if such a situation happens many times.

SUMMARY OF THE INVENTION

Embodiments of the present invention provide methods for implementing an IP Multimedia Subsystem (IMS) registration, to guarantee that a same Service Call Session Control Function (S-CSCF) is selected in the two selections of the S-CSCF during the initial IMS registration procedure and further ensure the successful implementation of the initial IMS registration.

A method for implementing an IMS registration, includes: receiving, by a Home Subscriber Server (HSS), an Multimedia Authentication Request (MAR) message from an S-CSCF; wherein the S-CSCF is selected for a User Equipment (UE) when a first Register request is sent by the UE; recording, by the HSS, the current registration state of the UE, generating Authentication Vectors (AV) and sending the AVs to the S-CSCF; initiating, by the S-CSCF, an authentication challenge to the UE according to the AVs returned by the HSS; sending, by the UE, a second Register request to an Interrogating Call Session Control Function (I-CSCF), after the UE implements the authentication challenge; notifying, by the I-CSCF, the HSS of inquiring the subscriber registration state; and returning, by the HSS, an S-CSCF Name to the I-CSCF when the current registration state of the UE is an assigned S-CSCF state.

A method for implementing an IMS registration, includes: recording the current registration state of the UE and the S-CSCF Name of an S-CSCF in response to receiving an MAR request from the S-CSCF; receiving a Register request of a UE initiated by an I-CSCF; and returning the S-CSCF Name of the S-CSCF to the I-CSCF when the current registration state of the UE is an assigned S-CSCF state.

It can be seen from the above technical solution that, the HSS records the current registration state of the UE entering the authentication state as the assigned S-CSCF state, in response to receiving the MAR initiated by the S-CSCF during the initial IMS registration procedure; in response to receiving the UAR message initiated by the I-CSCF, the HSS returns an S-CSCF Name to the I-CSCF when the current registration state of the UE is an assigned S-CSCF state. It can be seen from the embodiments of the present invention that, if the UE has entered the authentication state and initiated the second Register request, during the second UAR/UAA procedure of the initial IMS registration procedure, the HSS returns the I-CSCF the UAA message carrying the S-CSCF Name selected during the first UAR/UAA procedure and stored in the HSS. Therefore, a same S-CSCF is ensured to be used during the two UAR/UAA procedures, and successful implementation of the initial IMS registration of the UE is ensured therefore.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a flow chart illustrating the process of implementing an initial IMS registration in the prior art.

FIG. 2 is a flow chart illustrating the process of implementing an initial IMS registration according to an embodiment of the present invention.

FIG. 3 is a flow chart illustrating a method for determining a subscriber registration state in the initial IMS registration procedure according to an embodiment of the present invention.

FIG. 4 is a flow chart illustrating a method for recording a subscriber registration state in the initial IMS registration procedure according to an embodiment of the present invention.

DETAILED DESCRIPTION OF THE INVENTION

According to embodiments of the present invention, in an initial IMS registration procedure initiated by a UE, in response to receiving an MAR message initiated by an S-CSCF, an HSS records the current registration state of the UE entering the authentication procedure to an assigned S-CSCF state; in response to receiving a UAR message initiated by an I-CSCF, the HSS determines whether the current registration state of the UE recorded in the HSS is the assigned S-CSCF state; if the current registration state of the UE recorded in the HSS is the assigned S-CSCF state, the HSS sends a UAA message carrying an S-CSCF Name to the I-CSCF; otherwise, the HSS sends a UAA message carrying S-CSCF Capabilities to the I-CSCF.

The present invention is hereinafter further described in detail with reference to the accompanying drawings and preferred embodiments to further clarify the technical solutions and advantages thereof.

FIG. 2 is a flow chart illustrating the process of implementing an initial IMS registration according to an embodiment of the present invention. If a UE has acquired an IP connection bearer, and found an interface of the IMS system before the initial IMS registration is implemented, a P-CSCF, the initial IMS registration includes steps as below.

Step 200: The UE sends a first Register request based on the SIP to the P-CSCF found by the UE.

Step 201: The P-CSCF forwards the first Register request to an I-CSCF.

The implementation of the steps 200-201 is similar to that of the steps 100-101 in the prior art, so there is no more description.

Step 202: The I-CSCF initiates a UAR message to an HSS.

Step 203: The HSS determines whether the current registration state of the UE is the assigned S-CSCF state according to the current registration state of the UE stored in the HSS.

Step 204: If the current registration state of the UE is the assigned S-CSCF state, the HSS sends a UAA message carrying an S-CSCF Name to the I-CSCF; otherwise, the HSS sends the UAA message carrying S-CSCF Capabilities to the I-CSCF.

According to the existing protocol criterions, a subscriber has three registration states: the not registered state, the registered state, and the unregistered state. However, according to the embodiment of the present invention, subscriber has four registration states: the not registered state, the registered state, the unregistered state, and an authentication state which is newly-added, and the authentication state is a subscriber registration state for indicating that a UE is in the authentication procedure. According to the embodiment of the present invention, the registered state, the unregistered state, and the authentication state all belong to the assigned S-CSCF state. The current registration state of the UE can be determined through three methods as below.

Method I: Determining the current registration state of the UE according to the three subscriber registration states prescribed in the existing protocols and the state of a Pending Flag.

FIG. 3 is a flow chart illustrating a method for determining a subscriber registration state in the initial IMS registration procedure according to an embodiment of the present invention, including the following steps.

Step 2031: The HSS receives the UAR message from the I-CSCF.

Step 2032: The HSS determines the current registration state of the UE stored in the HSS; if the current registration state of the UE is the registered state or the unregistered state, proceeding to step 2033; if the current registration state of the UE is the not registered state, proceeding to step 2034.

Step 2033: The HSS returns the I-CSCF the UAA message carrying the S-CSCF Name stored in the HSS.

Step 2034: The HSS determines whether the Pending Flag stored in the HSS has been set to the Pending state; if the Pending Flag stored in the HSS has been set to the Pending state, proceeding to step 2035; otherwise, proceeding to step 2036.

Step 2035: The HSS returns the I-CSCF the UAA message carrying the S-CSCF Name stored in the HSS.

Step 2036: the HSS returns the I-CSCF the UAA message carrying the S-CSCF Capabilities stored in the HSS.

In the steps 2034-2036, although the current registration state of the UE is the not registered state, it means that the UE is being authenticated, that is, the UE is in the authentication state if the Pending Flag stored in the HSS is set to the Pending state, and the authentication state belongs to the assigned S-CSCF state provided by embodiments of the present invention. This is why the current registration state of the UE is the not registered state and the Pending Flag is set to the Pending state, the HSS returns the UAA message carrying the S-CSCF Name stored in the HSS to the I-CSCF.

The UAR/UAA procedure in the steps 203-204 is the first UAR/UAA procedure of the initial IMS registration. In this procedure the UE just enters the initial IMS registration, that is, the UE is in the not registered state, and the Pending Flag has not been set to the Pending state; so the UAA message carrying the S-CSCF Capabilities is returned to the I-CSCF.

The specific process of recording the current registration state of the UE is described in an MAR/MAA procedure in steps 207-209.

Method II: Determining the current registration state of the UE according to the subscriber registration state recorded.

According to the Method II, a registration state indicating that the UE is in the authentication procedure, that is, the Authentication pending state, should be added. Therefore, according to the Method II, the UE has four registration states: the not registered state, the registered state and the unregistered state which are prescribed in the existing protocols, and the Authentication pending state newly-added. The specific process of recording the current registration state of the UE is described in the MAR/MAA procedure in steps 207-209.

During the UAR/UAA procedure in the steps 203-204, the HSS just determines whether the S-CSCF Name or the S-CSCF capabilities is carried in the UAA message according to the current registration state of the UE stored in the HSS. If the current registration state of the UE is the assigned S-CSCF state, for example, the Authentication pending state, the unregistered state, or the registered state, the HSS returns the UAA message carrying the S-CSCF Name stored in the HSS to the I-CSCF; otherwise, the HSS returns the UAA message carrying the S-CSCF Capabilities stored in the HSS to the I-CSCF.

Similarly, when the Method II is used, the UAR/UAA procedure in the steps 203-204 is the first UAR/UAA procedure of the initial IMS registration procedure and the UE has just entered the initial IMS registration at this time, that is, the UE is in the not registered state; so the UAA message carries the S-CSCF Capabilities. The specific process of recording the current registration state of the UE is described in the MAR/MAA procedure in steps 207-209.

Method III: Determining the current registration state of the UE according to the three subscriber registration states prescribed in the existing protocols and whether the HSS stores the S-CSCF Name.

Generally, the UE has a unique private subscriber ID identified by an IP Multimedia Private Identity (IMPI), and multiple public subscriber ids identified by different IP Multimedia Public Identities (IMPUs).

The Method III includes the following steps:

In response to receiving the UAR message from the I-CSCF, the HSS determines the current registration state of the UE stored in the HSS; if a current public subscriber ID registration state of the UE is the registered state, the unregistered state, or the not registered state, but one or more of the other public subscriber ID registration states of the UE are the registered state or the unregistered state, the current registration state of the UE is the assigned S-CSCF state; therefore, the HSS returns the I-CSCF the UAA message carrying the S-CSCF Name stored in the HSS; if the current public subscriber ID registration state of the UE is the not registered state, and none of the other public subscriber ID registration states of the UE is the registered state or the unregistered state, the HSS further determines whether the HSS stores the S-CSCF Name for the UE; if the HSS stores the S-CSCF Name selected for the UE, the current registration state of the UE is the assigned S-CSCF state; therefore, the HSS returns the I-CSCF the UAA message carrying the S-CSCF Name stored in the HSS; if the HSS does not store the S-CSCF Name selected for the UE, the HSS returns the I-CSCF the UAA message carrying the S-CSCF Capabilities stored in the HSS.

It should be noted that, although the current registration state of the UE is the not registered state, it means that the UE is being authenticated, that is, the UE is in the authentication state if there is the HSS storing the S-CSCF Name for the UE; and the authentication state belongs to the assigned S-CSCF state provided by the embodiment of the present invention. In other words, when the current registration state of the UE is the not registered state, and the HSS stores the S-CSCF Name, the HSS returns the I-CSCF the UAA carrying the S-CSCF Name.

Similarly, when the Method III is used, the UAR/UAA procedure in the steps 203-204 is the first UAR/UAA procedure of the initial IMS registration procedure, the UE has just entered the initial IMS registration at this time, that is, the UE is in the not registered stat, and S-CSCF Name is not stored in the HSS; so, the UAA message carrying the S-CSCF Capabilities is returned to the I-CSCF.

Step 205: The I-CSCF selects the S-CSCF according to the S-CSCF Capabilities carried in the UAA message,

Step 206: The I-CSCF sends the first Register request received to the S-CSCF selected.

The implementation of the steps 205-206 is similar to that of the steps 104-105 in the prior art, so there is no more description.

Step 207: The S-CSCF sends an MAR message to the HSS to request the UE's authentication data.

Step 208: The HSS generates AVs and records the current registration state of the UE.

Step 209: The HSS returns the S-CSCF an MAA message carrying the AVs.

The implementation of the steps 207-209 is basically similar to that of steps 106-108 in the prior art. In response to receiving the MAR message, the HSS sets the Pending Flag stored in the HSS to the Pending state, to indicate that the UE is in the authentication procedure currently, stores the S-CSCF Name carried in the MAR message, and returns the MAA message carrying the generated AVs to the S-CSCF according to the S-CSCF Name carried in the MAR message.

What is different from the prior art is that, the HSS records the current registration state of the UE in the HSS, besides all processes in the steps 106-108 in the prior art. Besides setting the Pending Flag to the Pending state to indicate that the UE is in an authentication state of an initial IMS registration, and stores the S-CSCF Name carried in the MAR message, an embodiment of the present invention provides another mother for recording the current registration state of the UE.

FIG. 4 is a flow chart illustrating a method for recording a subscriber registration state in the initial IMS registration procedure according to an embodiment of the present invention. In the method for recording a subscriber registration state as shown in FIG. 4, pre-setting an Authentication Pending state is to indicate that the UE is in the authentication state of the initial IMS registration currently. And the method includes the following steps.

Step 2081: The HSS receives the MAR message from the S-CSCF.

Step 2082: The HSS determines whether the S-CSCF Name carried in the MAR message is consistent with the S-CSCF Name stored in the HSS; if the S-CSCF Name carried in the MAR message is not consistent with the S-CSCF Name stored in the HSS, proceeding to step 2083; otherwise, proceeding to step 2084.

Step 2083: The HSS records the current registration state of the UE as the Authentication Pending state.

If the S-CSCF Name of the S-CSCF providing the service for the UE is stored in the HSS, but the S-CSCF Name carried in the MAR message from the S-CSCF is not consistent with the S-CSCF Name stored in the HSS, it can be determined according to related protocol criterions that the UE having completed the initial IMS registration must be roaming or the like and re-gains a new S-CSCF in the roaming. Therefore, the current registration state of the UE recorded in the HSS is the Authentication Pending state.

Step 2084: The HSS determines whether the current registration state of the UE is the unregistered state or the not registered state; if the current registration state of the UE is the unregistered state or the not registered state, proceeding to step 2085; otherwise, proceeding to step 2086.

Step 2085: The HSS changes the current registration state of the UE to the Authentication Pending state.

Step 2086: The HSS records the current registration state of the UE as the registered state.

According to the process of recording the subscriber registration state as shown in FIG. 4, the UE's registration state is recorded as the Authentication Pending state, or the registered state as long as the UE enters the authentication state. The UE's registration state stored in the HSS is ensured to be the assigned S-CSCF state during the second UAR/UAA procedure, in other words, a same S-CSCF is used during the two UAR/UAA procedures, by carrying the S-CSCF Name stored in the HSS in the UAA message during the first UAR/UAA procedure, to provide the registration service for the UE; thereby ensuring the successful implementation of the initial IMS registration of the UE.

It should be noted that, the subscriber public subscriber ID registration state is the not registered state in the steps 207-209, and in response to receiving and processing the MAR message sent by the S-CSCF, the HSS stores the S-CSCF Name, i.e. the S-CSCF Name corresponding to the S-CSCF selected during the first UAR/UAA procedure. If the HSS, in response to receiving and processing the MAR message sent by the S-CSCF, triggers the process in which the IMS subscriber serves as the called party, i.e. the LIR/LIA process, which is independent with IMS registration process, the subsequent process of the IMS registration process continues to be implemented. The subsequent process includes according to the criterions of the 3GPP TS 29.228 v6.7.0 protocol: the HSS returning the I-CSCF a subscriber LIA message carrying the S-CSCF Capabilities in response to receiving a subscriber LIR message from the I-CSCF, since the public subscriber ID registration state corresponding to the subscriber is the not registered state; the I-CSCF selecting an S-CSCF according to the received S-CSCF Capabilities, sending a session initialization (INVITE) message to the S-CSCF selected currently, and proceeding to the LIR/LIA process. The process according to the prior art can not guarantee the consistency of the S-CSCF selected by the I-CSCF during the LIR/LIA procedure with the S-CSCF selected by the HSS during the first UAR/UAA procedure; therefore, the INVITE message can not be sent to the S-CSCF selected during the first UAR/UAA procedure. As a result, the S-CSCF initiates the initialization location registration process if finding no the UE. Consequently, the LIR/LIA can not be implemented successfully if such a situation happens many times.

If the Method III is used to determine the current registration state of the UE, the HSS triggers a process in which the IMS subscriber serves as the called party in response to receiving and processing the MAR message sent by the S-CSCF, and the process includes: in response to receiving the LIR message from the I-CSCF, the HSS determining that the current registration state of the UE is the authentication state, since the public subscriber ID registration state corresponding to the subscriber is the not registered state, and the S-CSCF Name is stored in the HSS for the UE; the HSS returning the I-CSCF the LIA message carrying the S-CSCF Name; and the I-CSCF sending the INVITE message to the S-CSCF corresponding to the S-CSCF Name received, and implementing the LIR/LIA process according to protocols. Obviously, according to this method, when the initial IMS registration procedure is not completed, and the LIR/LIA process is triggered, the I-CSCF is enabled to forward the corresponding message in the LIR/LIA process to the S-CSCF allocated for the subscriber, thereby ensuring the successful implementation of the LIR/LIA process.

If the Method II is used to determine the current registration state of the UE, the HSS triggers a process in which the IMS subscriber serves as the called party in response to receiving and processing the MAR message sent by the S-CSCF, and the process includes: in response to receiving the LIR message from the I-CSCF, the UE's registration state is recorded as either the Authentication Pending state or the registered state, and the UE's registration state stored in the HSS is the assigned S-CSCF state, since the UE has already been in the authentication state; the HSS returning the I-CSCF the LIA message carrying the S-CSCF Name stored in the HSS; and the I-CSCF sending the INVITE message to the S-CSCF corresponding to the S-CSCF Name received, and implementing the LIR/LIA process according to protocols. Obviously, when the initial IMS registration procedure is not completed, and the LIR/LIA process is triggered, the I-CSCF is enabled to forward the corresponding message in the LIR/LIA process to the S-CSCF allocated for the subscriber, thereby ensuring the successful implementation of the LIR/LIA process.

If the Method I is used to determine the current registration state of the UE, the HSS triggers a process in which the IMS subscriber serves as the called party in response to receiving and processing the MAR message sent by the S-CSCF, and the process includes: in response to receiving the LIR message from the I-CSCF, the current registration state of the UE is the not registered state, but the Pending Flag stored in the HSS is set to the Pending state, it means that the UE is being authenticated, that is, the UE is in the authentication state; the HSS returning the I-CSCF the LIA message carrying the S-CSCF Name stored in the HSS; and the I-CSCF sending the INVITE message to the S-CSCF corresponding to the S-CSCF Name received, and implementing the LIR/LIA process according to protocols. Obviously, when the initial IMS registration procedure is not completed, and the LIR/LIA process is triggered, the I-CSCF is enabled to forward the corresponding message in the LIR/LIA process to the S-CSCF allocated for the subscriber, thereby ensuring the successful implementation of the LIR/LIA process.

Steps 210-212: The S-CSCF sends a 401 unauthorized response to the UE through the I-CSCF and the P-CSCF, to challenge the UE;

Steps 213-214: The UE sends a second Register request carrying the RES to the I-CSCF through the P-CSCF.

The specific implementation of the steps 210-214 is similar to that of the steps 109-113 in the prior art, so there is no more description.

Step 215: The I-CSCF initiates to an HSS a UAR message.

Step 216: The HSS determines whether the current registration state of the UE is the assigned S-CSCF state according to the current registration state of the UE stored in the HSS.

Step 217: If the current registration state of the UE is the assigned S-CSCF state, the HSS sends a UAA message carrying an S-CSCF Name to the I-CSCF; otherwise, the HSS sends the UAA message carrying S-CSCF Capabilities to the I-CSCF.

The specific implementation of the steps 216-217 is similar to that of the steps 203-204, so there is no more description.

It should be noted that, if the method I in the steps 203-204 is used to determine the current registration state of the UE, because the UAR/UAA procedure in the steps 216-217 is the second UAR/UAA procedure of the initial IMS registration, the UE's registration state recorded in the HSS is still the not registered state, but the Pending Flag has been set to the Pending state; according to the process of steps 2034-2036 of the Method I, the UE is still in the authentication state. The HSS returns the I-CSCF the S-CSCF Name selected during the first UAR/UAA procedure and stored in the HSS in steps 207-209.

If the Method II in the steps 203-204 is used to determine the current registration state of the UE, because in the steps 207-209, the current registration state of the UE is recorded as the Authentication Pending state or the registered state. The HSS returns the I-CSCF the UAA message carrying the S-CSCF Name selected during the first UAR/UAA procedure and stored in the HSS in the steps 207-209.

If the Method III in the steps 203-204 is used to determine the current registration state of the UE, the UE is in the authentication state according to the process of Method III, since the UAR/UAA procedure in the steps 216-217 is the second UAR/UAA procedure of the initial IMS registration procedure, the UE's registration state recorded in the HSS is still the not registered state, but the S-CSCF Name of the S-CSCF selected during the first UAR/UAA procedure is stored in the HSS. The HSS returns the I-CSCF the UAA message carrying the S-CSCF Name.

Step 218: The I-CSCF sends the second Register request to the S-CSCF corresponding to the S-CSCF Name according to the S-CSCF Name carried in the UAA message.

According to the process in steps 216-217, and step 218, the HSS returns the S-CSCF Name of the S-CSCF selected during the first UAR/UAA procedure and stored in the HSS to the I-CSCF during the second UAR/UAA procedure, by recording different UE's registration states, and the second Register request from the UE is ensured to be successfully sent to the S-CSCF receiving the first Register request, and the successful implementation of the UE's initial IMS registration is ensured.

Step 219: The S-CSCF authenticates the UE according to the RES carried in the second Register request.

Step 220: If the UE passes the authentication, the S-CSCF sends an SAR message to the HSS.

Step 221: The HSS returns an SAA message to the S-CSCF in response to receiving the SAR message.

The specific implementation of the steps 219-221 is similar to that of the steps 117-119 in the prior art, so there is no more description.

Steps 222-224: The S-CSCF sends a 200 OK answer to the UE through the I-CSCF and the P-CSCF to accept the initial IMS registration initiated by the UE.

The specific implementation of the steps 222-224 is similar to that of the steps 120-122 in the prior art, so there is no more description.

The above are only preferred embodiments of the present invention and are not for use in limiting the present invention. Any modification, equivalent replacement or improvement made under the spirit and principles of the present invention is included in the protection scope of the present invention. 

What is claimed is:
 1. A method for implementing an Internet Protocol (IP) Multimedia Subsystem (IMS) registration, comprising: receiving, by a Home Subscriber Server (HSS), an Multimedia Authentication Request (MAR) message from a Service Call Session Control Function (S-CSCF); wherein the S-CSCF is selected for a User Equipment (UE) when a first Register request is sent by the UE; recording, by the HSS, the current registration state of the UE, generating Authentication Vectors (AV) and sending the AVs to the S-CSCF; initiating, by the S-CSCF, an authentication challenge to the UE according to the AVs returned by the HSS; sending, by the UE, a second Register request to an Interrogating Call Session Control Function (I-CSCF), after the UE implements the authentication challenge; notifying, by the I-CSCF, the HSS of inquiring the subscriber registration state; and returning, by the HSS, an S-CSCF Name to the I-CSCF when the registration state of the UE is not registered and the pending flag is set to pending state, wherein the pending flag is set to pending state for indicating that the UE is in the authentication procedure.
 2. The method of claim 1, further comprising: sending, by the I-CSCF, the second Register request to the S-CSCF according to the S-CSCF Name returned by the HSS; and changing, by the S-CSCF, the current registration state of the UE to a registered state, after the S-CSCF authenticates the UE.
 3. The method of claim 1, further comprising: before receiving by the HSS the MAR message from the S-CSCF, sending, by the UE, the first Register request to the I-CSCF through a Proxy Call Session Control Function (P-CSCF); notifying, by the I-CSCF, the HSS of inquiring the subscriber registration state, in response to receiving the first Register request; returning, by the HSS, S-CSCF Capabilities to the I-CSCF; selecting, by the I-CSCF, the S-CSCF according to the S-CSCF Capabilities and storing the S-CSCF Name of the S-CSCF; and sending, by the I-CSCF, the first Register request to the S-CSCF.
 4. The method of claim 3, wherein the notifying by the I-CSCF the HSS of inquiring the subscriber registration state in response to receiving the first Register request comprises: sending, by the I-CSCF, a User Authentication Request (UAR) message to the HSS; and the returning by the HSS the S-CSCF Capabilities to the I-CSCF comprises: sending, by the HSS, a User Authentication Answer (UAA) message carrying the S-CSCF Capabilities to the I-CSCF.
 5. The method of claim 1, wherein the notifying by the I-CSCF the HSS of inquiring the subscriber registration state comprises: sending, by the I-CSCF, a User Authorization Request (UAR) message to the HSS; and the returning by the HSS the S-CSCF Name to the I-CSCF comprises: sending, by the HSS, a User Authentication Answer (UAA) message carrying the S-CSCF Name to the I-CSCF.
 6. The method of claim 1, wherein the receiving the MAR message from the S-CSCF comprises: receiving, by the HSS, the MAR message carrying the S-CSCF Name of the S-CSCF; and the returning by the HSS the AVs comprises: sending, by the HSS, the S-CSCF a Multimedia Authentication Answer (MAA) message carrying the AVs generated.
 7. The method of claim 1, further comprising: receiving, by the HSS, a subscriber Location Inquiry Request (LIR) message from the I-CSCF in response to recording the current registration state of the UE; returning, by the HSS, the I-CSCF a Location Inquiry Answer (LIA) message carrying the S-CSCF Name if a current registration state of the UE is a not registered state, and a Pending Flag stored in the HSS is in a Pending state; and sending, by the I-CSCF, a session initialization (INVITE) message to the S-CSCF corresponding to the S-CSCF Name carried in the LIA message.
 8. A method for implementing an Internet Protocol (IP) Multimedia Subsystem (IMS) registration, comprising: receiving, by a Home Subscriber Server (HSS), an Multimedia Authentication Request (MAR) message from a Service Call Session Control Function (S-CSCF); wherein the S-CSCF is selected for a User Equipment (UE) when a first Register request is sent by the UE; recording, by the HSS, the current registration state of the UE, generating Authentication Vectors (AV) and sending the AVs to the S-CSCF, initiating, by the S-CSCF, an authentication challenge to the UE according to the AVs returned by the HSS; sending, by the UE, a second Register request to an Interrogating Call Session Control Function (I-CSCF), after the UE implements the authentication challenge; notifying, by the I-CSCF, the HSS of inquiring the subscriber registration state; and returning, by the HSS, the S-CSCF Name to the I-CSCF when the registration state of the UE is an authentication state, wherein the authentication state is a subscriber registration state for indicating that a UE is in the authentication procedure.
 9. The method of claim 8, further comprising: receiving, by the HSS, a subscriber Location Inquiry Request (LIR) message from the I-CSCF in response to recording the current registration state of the UE; returning, by the HSS, the I-CSCF a Location Inquiry Answer (LIA) message carrying the S-CSCF Name, if the current registration state of the UE is the authentication state; and sending, by the I-CSCF, an INVITE message to the S-CSCF corresponding to the S-CSCF Name carried in the LIA message.
 10. A method for implementing an Internet Protocol Multimedia Subsystem (IMS) registration, comprising: receiving, by a Home Subscriber Server (HSS), an authentication request message from a Service Call Session Control Function (S-CSCF), wherein the S-CSCF is selected by an Interrogating Call Session Control Function (I-CSCF) for a User Equipment (UE) after the I-CSCF receives a first Register request sent by the UE, and the authentication request message carries an S-CSCF Name of the S-CSCF; storing, by the HSS, the S-CSCF name in the HSS for the UE; receiving, by the I-CSCF, a second register request from the UE; sending, by the I-CSCF, an authorization request message to the HSS; determining, by the HSS, that a registration state of a current public subscriber ID of the UE is not registered; determining, by the HSS, that there is no other public subscriber ID of the UE whose current registration state is registered or unregistered; determining, by the HSS, that the S-CSCF name for the UE is stored in the HSS; and sending, by the HSS, an authentication answer message including the S-CSCF name to the I-CSCF.
 11. The method according to claim 10, wherein the current public subscriber ID of the UE and the other public subscriber ID of the UE are corresponding to a same private subscriber ID of the UE.
 12. The method according to claim 10, wherein the public subscriber ID is IP Multimedia Public Identity (IMPU).
 13. The method according to claim 11, wherein the private subscriber ID is IP Multimedia Private Identity (IMPI).
 14. The method according to claim 10, wherein before the receiving the authentication request message, the method further comprises: receiving, by the I-CSCF, the first register request from the UE; sending, by the I-CSCF, an authorization request message to the HSS; receiving, by the I-CSCF, an authorization request message including S-CSCF capabilities from the HSS; selecting, by the I-CSCF, the S-CSCF according to the S-CSCF capabilities; and sending, by the I-CSCF, the first register request to the S-CSCF.
 15. The method according to claim 10, wherein after the storing the S-CSCF name, the method further comprises: generating, by the HSS, Authentication Vectors (AVs); sending, by the HSS, the AVs to the S-CSCF; initiating, by the S-CSCF, an authentication challenge to the UE according to the AVs returned by the HSS, wherein an authentication challenge response is carried in the second Register request received by the I-CSCF.
 16. The method according to claim 15, wherein the method further comprising: sending, by the I-CSCF, the second register request to the S-CSCF according to the S-CSCF name; and changing a registration state of the current public subscriber ID of the UE to a registered state after the S-CSCF authenticates the UE.
 17. A Internet Protocol Multimedia Subsystem (IMS) registration system, comprising: a Service Call Session Control Function (S-CSCF), an Interrogating Call Session Control Function (I-CSCF) and a Home Subscriber Server (HSS); the HSS receives an authentication request message from the S-CSCF, wherein the S-CSCF is selected by the I-CSCF for a User Equipment (UE) after the I-CSCF receives a first Register request sent by the UE, and the authentication request message carries an S-CSCF Name of the S-CSCF; the I-CSCF receives a second register request from the UE, and sends an authorization request message to the HSS; and the HSS further stores the S-CSCF name in the HSS for the UE, determines that a registration state of a current public subscriber ID of the UE is not registered, determines that there is no other public subscriber ID of the UE whose current registration state is registered or unregistered, determines that the S-CSCF name for the UE is stored in the HSS; and sends a authentication answer message including the S-CSCF name to the I-CSCF.
 18. The system according to claim 17, wherein the current public subscriber ID of the UE and the other public subscriber ID of the UE are corresponding to a same unique private subscriber ID.
 19. The system according to claim 17, wherein the public subscriber ID is IP Multimedia Public Identity (IMPU).
 20. The system according to claim 18, wherein the private subscriber ID is IP Multimedia Private Identity (IMPI).
 21. The system according to claim 17, wherein before the HSS receives the authentication request message, the I-CSCF receives the first register request from the UE, sends an authorization request message to the HSS, receives an authentication answer message including S-CSCF capabilities from the HSS selects the S-CSCF according to the S-CSCF capabilities; and sends the first register request to the S-CSCF.
 22. The system according to claim 17, wherein after the HSS stores the S-CSCF name, the HSS generates Authentication Vectors (AVs), sends the AVs to the S-CSCF, initiates an authentication challenge to the UE according to the AVs returned by the HSS, wherein an authentication challenge response is carried in the second Register request received by the I-CSCF.
 23. The system according to claim 22, wherein the I-CSCF sends the second register request to the S-CSCF according to the S-CSCF name; and changes a registration state of the current public subscriber ID of the UE to a registered state after the S-CSCF authenticates the UE.
 24. A method for implementing an Internet Protocol Multimedia Subsystem (IMS) registration, comprising: receiving, by a Home Subscriber Server (HSS), an authentication request message from a Service Call Session Control Function (S-CSCF), and the authentication request message carries an S-CSCF Name of the S-CSCF; storing, by the HSS, the S-CSCF name in the HSS for a user equipment (UE); receiving, by an Interrogating Call Session Control Function (I-CSCF), a register request from the UE; sending, by the I-CSCF, an authorization request message to the HSS to authorize the UE; determining, by the HSS, that a registration state of a current public subscriber ID of the UE is not registered; determining, by the HSS, that there is no other public subscriber ID of the UE whose current registration state is registered or unregistered; determining, by the HSS, that the S-CSCF name for the UE is stored in the HSS; and sending, by the HSS, an authentication answer message including the S-CSCF name to the I-CSCF.
 25. The method according to claim 24, wherein before receiving the authentication request message from the S-CSCF, the method comprising: receiving, by a Interrogating Call Session Control Function (I-CSCF), an initial Register request from the UE; selecting, by the I-CSCF, the S-CSCF for the UE; sending, by the I-CSCF, the initial Register request to the S-CSCF; sending, by the S-CSCF, the authentication request message to the HSS.
 26. The method according to claim 24, wherein the current public subscriber ID of the UE and the other public subscriber ID of the UE correspond to a same private subscriber ID of the UE.
 27. The method according to claim 24, wherein the public subscriber ID is IP Multimedia Public Identity (IMPU).
 28. The method according to claim 25, wherein the private subscriber ID is IP Multimedia Private Identity (IMPI).
 29. The method according to claim 24, wherein after storing the S-CSCF name at the HSS, the method comprises: sending, by the HSS, Authentication Vectors (AVs) to the S-CSCF; initiating, by the S-CSCF, an authentication challenge to the UE according to the AVs.
 30. The method according to claim 29, wherein after sending the authentication answer message including the S-CSCF name to the I-CSCF by the HSS, the method comprises: sending, by the I-CSCF, the register request to the S-CSCF according to the S-CSCF name; authenticating, by the S-CSCF, the UE according to the register request and the AVs; and changing, by the HSS, a registration state of the current public subscriber ID of the UE to a registered state after the S-CSCF complete the authentication of the UE.
 31. An Internet Protocol Multimedia Subsystem (IMS) registration system, comprising: a Service Call Session Control Function (S-CSCF); an Interrogating Call Session Control Function (I-CSCF); and a HSS in communication with the S-CSCF and the I-CSCF, wherein the HSS: receives an authentication request message from the S-CSCF, and the authentication request message carries an S-CSCF Name of the S-CSCF; stores the S-CSCF name in the HSS for a user equipment (UE); receives an authorization request message from the I-CSCF: determines that a registration state of a current public subscriber ID of the UE is not registered; determines that there is no other public subscriber ID of the UE whose current registration state is registered or unregistered; determines that the S-CSCF name for the UE is stored in the HSS; and sends an authentication answer message including the S-CSCF name to the I-CSCF; the I-CSCF: receives a register request from the UE; and sends the authorization request message to the HSS to authorize the UE.
 32. The system according to claim 31, wherein the I-CSCF further: receives an initial Register request from the UE; selects the S-CSCF for the UE; and sends the initial Register request to the S-CSCF; the S-CSCF sends the authentication request message to the HSS.
 33. The system according to claim 31, wherein the current public subscriber ID of the UE and the other public subscriber ID of the UE correspond to a same private subscriber ID of the UE.
 34. The system according to claim 31, wherein the current public subscriber ID is IP Multimedia Public Identity (IMPU).
 35. The system according to claim 31, wherein the private subscriber ID is IP Multimedia Private Identity (IMPI).
 36. The system according to claim 31, wherein the HSS further sends Authentication Vectors (AVs) to the S-CSCF after storing the S-CSCF name; and the S-CSCF initiates an authentication challenge to the UE according to the AVs.
 37. The system according to claim 31, wherein the I-CSCF further sends the register request to the S-CSCF according to the S-CSCF name after receiving the authentication answer message including the S-CSCF name; the HSS authenticates the UE according to the register request and the AVs; and changes a registration state of the current public subscriber ID of the UE to a registered state after the S-CSCF has completed the authentication of the UE.
 38. A method for implementing an Internet Protocol Multimedia Subsystem (IMS) registration, comprising: receiving, by a Home Subscriber Server (HSS), an authentication request message from a Service Call Session Control Function (S-CSCF), and the authentication request message carries an S-CSCF Name of the S-CSCF; storing, by the HSS, the S-CSCF name in the HSS for a user equipment (UE); receiving, by the HSS, an authorization request message to authorize the UE from an Interrogating Call Session Control Function (I-CSCF); determining, by the HSS, that a registration state of a current public subscriber ID of the UE is not registered; determining, by the HSS, that there is no other public subscriber ID of the UE whose current registration state is registered or unregistered; determining, by the HSS, that the S-CSCF name for the UE is stored in the HSS; and sending, by the HSS, an authentication answer message including the S-CSCF name to the I-CSCF.
 39. The method according to claim 38, wherein the current public subscriber ID of the UE and the other public subscriber ID of the UE correspond to a same private subscriber ID of the UE.
 40. The method according to claim 38, wherein the public subscriber ID is IP Multimedia Public Identity (IMPU).
 41. The method according to claim 38, wherein the private subscriber ID is IP Multimedia Private Identity (IMPI).
 42. The method according to claim 38, wherein after storing the S-CSCF name at the HSS, the method comprises: sending, by the HSS, Authentication Vectors (AVs) to the S-CSCF. 